﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace YiYiTong.Rocket.Model
{
    /// <summary>
    /// 城市信息
    /// xujf 2016-04-26
    /// </summary>
    public class CityInfoViewModel
    {
        public CityInfoViewModel()
        {
            DivID = "cityid";
            CityID = "000000";
            CityName = "全国";
            CityIDFormName = "CityID";
            CityNameFormName = "CityName";
            ShowDeep = 3;
        }
        /// <summary>
        /// 控制这个代码块的ID，默认cityid
        /// </summary>
        public string DivID { get; set; }
        public string CityID { get; set; }
        /// <summary>
        /// 界面上的隐藏域的城市ID名称，不传则默认 “CityID”
        /// </summary>
        public string CityIDFormName { get; set; }
        /// <summary>
        /// 用逗号隔开的完整城市名
        /// 浙江，杭州，临安
        /// </summary>
        public string CityName { get; set; }
        /// <summary>
        /// 界面上的隐藏域的城市Name的名称，不传则默认 “CityName”
        /// </summary>
        public string CityNameFormName { get; set; }
        /// <summary>
        /// 城市界面显示深度
        /// 1 只显示省 2到市 3 到区
        /// </summary>
        public int ShowDeep { get; set; }
    }
}
